
#include "cmsis_os.h"  // CMSIS RTOS header file
#include "Drv_Led.h"
#include "Drv_Fwdgt.h"
/*----------------------------------------------------------------------------
 *      Thread 1 'Thread_Name': Sample thread
 *---------------------------------------------------------------------------*/

void BackGround_proc(void const *argument)
{
    led_init();
    IWDG_Configuration();
    osDelay(50);
    led_toggle();
    osDelay(50);
    led_toggle();
    osDelay(50);
    led_toggle();
    osDelay(50);
    led_toggle();
    while (1)
    {
        osDelay(500);
        led_toggle();  // Insert thread code here...
        fwdgt_counter_reload();
        // osThreadYield();  // suspend thread
    }
}
